//黄宝石: 武器:攻击+1       饰品:命中+0.2   防具: 生命+2
//蓝宝石: 武器:暴击率+0.2     饰品:闪避率+0.2   防具:护甲+0.5

import { EquipmentType } from "core/typeDefine/typeDefine";

//红宝石: 武器:暴击伤害+0.25  饰品:伤害减免+0.2    防具:战后恢复+1
export default {
    gemList: {
        1: { //黄
            attris: {
                [EquipmentType.Weapon]: [{ name: 'attack' }],
                [EquipmentType.SubWeapon]: [{ name: 'attack' }],
                [EquipmentType.Wings]: [{ name: 'attack' }],

                [EquipmentType.Body]: [{ name: 'attack' }],
                [EquipmentType.Foot]: [{ name: 'attack' }],
                [EquipmentType.Head]: [{ name: 'attack' }],

                [EquipmentType.Necklace]: [{ name: 'attack' }],
                [EquipmentType.Ring]: [{ name: 'attack' }],
                [EquipmentType.Earring]: [{ name: 'attack' }],
            }
        },
        2: { //蓝
            attris: {
                [EquipmentType.Weapon]: [{ name: 'attack' }],
                [EquipmentType.SubWeapon]: [{ name: 'attack' }],
                [EquipmentType.Wings]: [{ name: 'attack' }],

                [EquipmentType.Body]: [{ name: 'attack' }],
                [EquipmentType.Foot]: [{ name: 'attack' }],
                [EquipmentType.Head]: [{ name: 'attack' }],

                [EquipmentType.Necklace]: [{ name: 'attack' }],
                [EquipmentType.Ring]: [{ name: 'attack' }],
                [EquipmentType.Earring]: [{ name: 'attack' }],
            }
        },
        3: { //红
            attris: {
                [EquipmentType.Weapon]: [{ name: 'attack' }],
                [EquipmentType.SubWeapon]: [{ name: 'attack' }],
                [EquipmentType.Wings]: [{ name: 'attack' }],

                [EquipmentType.Body]: [{ name: 'attack' }],
                [EquipmentType.Foot]: [{ name: 'attack' }],
                [EquipmentType.Head]: [{ name: 'attack' }],

                [EquipmentType.Necklace]: [{ name: 'attack' }],
                [EquipmentType.Ring]: [{ name: 'attack' }],
                [EquipmentType.Earring]: [{ name: 'attack' }],
            }
        },
        4: { //紫
            attris: {
                [EquipmentType.Weapon]: [{ name: 'attack' }],
                [EquipmentType.SubWeapon]: [{ name: 'attack' }],
                [EquipmentType.Wings]: [{ name: 'attack' }],

                [EquipmentType.Body]: [{ name: 'attack' }],
                [EquipmentType.Foot]: [{ name: 'attack' }],
                [EquipmentType.Head]: [{ name: 'attack' }],

                [EquipmentType.Necklace]: [{ name: 'attack' }],
                [EquipmentType.Ring]: [{ name: 'attack' }],
                [EquipmentType.Earring]: [{ name: 'attack' }],
            }
        },
        5: { //绿
            attris: {
                [EquipmentType.Weapon]: [{ name: 'attack' }],
                [EquipmentType.SubWeapon]: [{ name: 'attack' }],
                [EquipmentType.Wings]: [{ name: 'attack' }],

                [EquipmentType.Body]: [{ name: 'attack' }],
                [EquipmentType.Foot]: [{ name: 'attack' }],
                [EquipmentType.Head]: [{ name: 'attack' }],

                [EquipmentType.Necklace]: [{ name: 'attack' }],
                [EquipmentType.Ring]: [{ name: 'attack' }],
                [EquipmentType.Earring]: [{ name: 'attack' }],
            }
        },
    },
    //宝石共鸣属性
    gemTeamLvlMax: 10,
    gemTeamAttris: [
        { name: "attackMp", unlockLvl: 2, valueLvl: 80 },
        { name: "recoverMp", unlockLvl: 3, valueLvl: 100 },
        { name: "maxHp", unlockLvl: 5, valueLvl: 220 },
        { name: "maxMp", unlockLvl: 6, valueLvl: 250 },
        { name: "attack", unlockLvl: 8, valueLvl: 300 },
        { name: "def", unlockLvl: 10, valueLvl: 400 },
    ]
}


